#ifndef MAINTAIN_PROGRESSBAR_DELEGATE_H
#define MAINTAIN_PROGRESSBAR_DELEGATE_H

#include <QItemDelegate>

class MaintainProgressBarDelegate : public QItemDelegate
{
    Q_OBJECT
public:
    explicit MaintainProgressBarDelegate(QObject *parent = 0);

    void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
    bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index);

signals:

public slots:



};

#endif // MAINTAIN_PROGRESSBAR_DELEGATE_H
